package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息通知记录
 * </p>
 *
 * @author LEO
 * @since 2019-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_notice_record")
@ApiModel(value="NoticeRecord对象", description="消息通知记录")
public class NoticeRecord extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一code")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "机构code")
    @TableField("branch_code")
    private String branchCode;

    @ApiModelProperty(value = "用户code")
    @TableField("party_code")
    private String partyCode;

    @ApiModelProperty(value = "类型：0,业务消息 1,系统消息")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "已读：0否,1是")
    @TableField("is_read")
    private Integer isRead;


}
